# -*- coding: utf-8 -*-
from odoo import http


class Lianan(http.Controller):
    @http.route('/lianan/lianan/', auth='public')
    def index(self, **kw):
        return "Hello, world"
#
#     # @http.route('/lianan/lianan/objects/', auth='public')
#     # def list(self, **kw):
#     #     return http.request.render('lianan.listing', {
#     #         'root': '/lianan/lianan',
#     #         'objects': http.request.env['lianan.lianan'].search([]),
#     #     })
#     #
#     # @http.route('/lianan/lianan/objects/<model("lianan.lianan"):obj>/', auth='public')
#     # def object(self, obj, **kw):
#     #     return http.request.render('lianan.object', {
#     #         'object': obj
#     #     })
